/*
 * BoardData.h
 *
 *  Created on: 13/06/2014
 *      Author: lucio
 */

#ifndef BOARDDATA_H_
#define BOARDDATA_H_
#include <gtkmm.h>
#include "Board.h"

class BoardData {
protected:
	Gtk::Entry* LevelName;
	Gtk::SpinButton* RowCount;
	Gtk::SpinButton* ColumnCount;
	Gtk::Button* UpdateButton;

	Board* board;
public:
	BoardData(Glib::RefPtr<Gtk::Builder>& builder, Board* board);
	virtual ~BoardData();

private:
	void RowCount_Change();
	void ColumnCount_Change();
	void ReloadBoard();
};

#endif /* BOARDDATA_H_ */
